package com.youuvs.service.impl;

import com.youuvs.domain.Store;
import com.youuvs.mapper.StoreMapper;
import com.youuvs.service.IStoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StoreServiceImpl implements IStoreService {

    @Autowired
    private StoreMapper storeMapper;
    @Override
    public Store getById(Long id) {
        return storeMapper.getById(id);
    }

    @Override
    public void insert(Store store) {

        storeMapper.insert(store);

    }
}
